package com.whxy02.tolearn.app.dao;


import java.util.List;

/**
 * 公用方法接口
 * @param <T>
 */

public interface PublicDao<T> {
    public List<T> SelectAll()throws Exception;

    public T SelectById(Integer id)throws Exception;

    public void Insert(T t)throws Exception;

    public void DeleteById(Integer id)throws Exception;

    public void Update(T t)throws Exception;
}
